import request from '@/utils/request'

// 查询重点工作列表
export function listMajorImpl(data) {
  return request({
    url: '/coordination/majorImpl/list',
    method: 'post',
    data: data
  })
}

// 查询公文落实情况上报详细
export function getMajorImpl(id) {
  return request({
    url: '/coordination/majorImpl/' + id,
    method: 'get'
  })
}

// 新增公文落实情况上报
export function addMajorImpl(data) {
  return request({
    url: '/coordination/majorImpl',
    method: 'post',
    data: data
  })
}

// 修改公文落实情况上报
export function updateMajorImpl(data) {
  return request({
    url: '/coordination/majorImpl',
    method: 'put',
    data: data
  })
}

// 删除公文落实情况上报
export function delMajorImpl(id) {
  return request({
    url: '/coordination/majorImpl/' + id,
    method: 'delete'
  })
}

// 已读
export function getMajorImplRead(data) {
  return request({
    url: '/coordination/majorImpl/read' ,
    method: 'post',
    data: data
  })
}
